.device-container {
  padding-top: 20px;
  background: #333;
  background-image: url(/assets/image/index/product.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.device-container .device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.device-container .device-title {
  color: #fff;
  font-size: 25px;
  font-weight: 500;
}

.device-container .device-title span {
  color: #ffc637;
}

.device-container .device-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  height: 44px;
  border-radius: 183px 183px 183px 183px;
  border: 1px solid #ffffff;
  font-size: 16px;
  color: #fff;
}

.device-container .device-nav-container {
  padding: 10px 0;
}

.device-container .menu-swiper {
  padding: 0 10px;
}

.device-container .menu-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 8px 20px;
  font-size: 15px;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.device-container .menu-swiper .swiper-slide.active {
  background: #ffc637;
  color: #1a1a1a;
}

.device-container .products-container {
  transition: all 2s ease-out;
  min-height: 509px;
  padding: 20px 0;
}

.device-container .products-container .products-swiper {
  padding: 0 20px;
}

@keyframes device-box-animation {
  0% {
    opacity: 0;
    height: 0;
    width: 0;
  }
  100% {
    opacity: 1;
  }
}

.device-container .m-product-card {
  overflow: hidden;
  animation: device-box-animation 0.9s;
}

.device-container .m-product-image {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
}

.device-container .m-product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-container .m-product-info {
  height: 162px;
  padding: 20px;
  background: rgba(255, 198, 55, 0.95);
  border-radius: 12px;
}

.device-container .m-product-info h3 {
  font-weight: 500;
  font-size: 17px;
  color: #333333;
  margin-bottom: 10px;
}

.device-container .m-product-info h3::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: #000;
  margin-top: 10px;
}

.device-container .m-product-info div {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.mobile-device-more-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 183px 183px 183px 183px;
  border: 1px solid #ffffff;
  font-size: 16px;
  color: #ffffff;
  margin: 20px;
}

.mobile-device-more-btn:hover {
  background: #ffffff;
  color: #1a1a1a;
}

@media (max-width: 768px) {
  .device-container .device-more-btn {
    display: none;
  }
  .mobile-device-more-btn {
    display: flex;
  }
  .device-container .device-header {
    justify-content: center;
  }
}
